#ifndef __PLATFORM_LIB_COMMON_H__
#define __PLATFORM_LIB_COMMON_H__
#ifdef __cplusplus
extern "C"
{
#endif

#include <stdint.h>

/******************************************************************************************************/

enum PF_OPT
{
    PF_INVALID = 0,         /* use for avoid/detect some errors */
    PF_ON      = 1,         /* turn on some options */
    PF_OFF     = 2,         /* turn off some options */
};

/******************************************************************************************************/

/* gcc version. for example : v4.1.2 is 40102, v3.4.6 is 30406 */
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)

/******************************************************************************************************/

#ifdef __cplusplus
}
#endif
#endif /* #ifndef __PLATFORM_LIB_COMMON_H__ */

